<?php
// +----------------------------------------------------------------------
// | author: thinkphp
// +----------------------------------------------------------------------

namespace app\api\logic;

use app\common\enum\YesNoEnum;
use app\common\logic\BaseLogic;
use app\common\model\travel\Line;


/**
 * 逻辑
 * Class ArticleLogic
 * @package app\api\logic
 */
class LineLogic extends BaseLogic
{

    /**
     * @notes 详情
     * @param $lineId
     * @return array
     */
    public static function detail($lineId): array
    {
        return Line::findOrEmpty($lineId)->toArray();
    }
}